export default class customizedError extends Error {
  constructor(customizedErrorCode) {
    super(customizedErrorCode.errorMessage);
    this.name = customizedErrorCode.errorCode;
  }
}
